﻿using Digitalmes.Infrastructure.IO;

namespace Digitalmes.Infrastructure;

public static class IOSetup
{
    /// <summary>
    /// 添加 IO 注入服务。
    /// </summary>
    /// <param name="services"></param>
    public static IServiceCollection AddIOSetup(this IServiceCollection services)
    {
        services.AddTransient<IExcelExport, MiniExcelExport>();

        return services;
    }
}
